package com.yunji.base.domain;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.yunji.common.annotation.Excel;
import com.yunji.common.base.BaseDelFlagDO;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;

import java.io.Serializable;
import java.math.BigDecimal;

/**
 * @Project: yunji-coffee
 * @Package com.yunji.user.config
 * @FileName Manager.java
 * @Copyright Copyright © 2024 云集互联. All Rights Reserved
 * Company		com
 * @version 1.0
 * @since JDK 1.8.0_202
 * @CreateTime 2024-05-29 17:09:34
 * @Description 网点用户信息
 * @Modification Author                    History Time			Version				Description
 * --------------------------------------------------------------------------------
 * HuaAo0803@163.com	2024-05-29 17:09:34		1.0					1.0 Version
 */
@EqualsAndHashCode(callSuper = true)
@Data
@TableName("t_manager")
public class ManagerDO extends BaseDelFlagDO implements Serializable {
    private static final long serialVersionUID = 2548896813469731724L;

    @Excel(name = "主键ID")
    @ApiModelProperty("主键ID")
    @TableId(type = IdType.AUTO)
    private Long id;

    @ApiModelProperty("belongId")
    @TableField(exist = false)
    private Long belongId;

    @Excel(name = "网点用户名称")
    @ApiModelProperty("网点用户名称")
    @TableField(exist = false)
    private String managerName;

    @Excel(name = "网点用户电话")
    @ApiModelProperty("网点用户电话")
    @TableField(exist = false)
    private String managerPhone;

    @Excel(name = "网点用户ID")
    @ApiModelProperty("网点用户ID")
    private Long managerId;

    @Excel(name = "代理用户ID")
    @ApiModelProperty("代理用户ID")
    private Long agentId;

    @Excel(name = "自定义定价(0:关闭;1开启; 默认0:关闭)")
    @ApiModelProperty("自定义定价(0:关闭;1开启; 默认0:关闭)")
    private Integer customPrice;

    @Excel(name = "员工分成方式(0:免费;1:比例分成;2:固定金额;)")
    @ApiModelProperty(value = "员工分成方式(0:免费;1:比例分成;2:固定金额; 默认0:免费)")
    private Integer scaleType;

    @Excel(name = "代理分成比例")
    @ApiModelProperty(value = "代理分成比例")
    private BigDecimal scale;

    @Excel(name = "微信开放OPENID")
    @ApiModelProperty("微信开放OPENID")
    private String openid;

}

